from enum import Enum


class WorkType(Enum):

    COLLECTION = ("采集",)

    @classmethod
    def all_value(cla):
        return [cla.COLLECTION.value[0]]

    @classmethod
    def to_choices(cla):
        return [(key, key) for key in cla.value.keys()]


class Scene_Type(Enum):

    NIGHT = "夜间"
    MORNING = "白天"

    @classmethod
    def to_choices(cla):
        return [(key, key) for key in cla.value.keys()]
